package org.zachary.agent.infrastructure.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.zachary.commonmodule.entity.entity.CreditDTO;
import org.zachary.commonmodule.entity.entity.Result;


@FeignClient(name = "credit-manage", path = "/creditManage")
public interface NotifyCreditScoreManager {
    @PostMapping("/credit")
    Result<String> addCredit(@RequestBody CreditDTO creditDTO);
}
